import json

with open(file='data.json', mode='r', encoding='utf-8') as f:
    data = json.load(f)
    for k, v in data.items():
        print(f'{k} >>> {v}')
    # 将对象转为json格式字符串
    json_str = json.dumps(data, ensure_ascii=False)
    d = json.loads(json_str)
    for k, v in d.items():
        print(f'{k} >>> {v}')
